package indi.zhang.framework.config.mybatis;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

public class MybatisPlusConfig {

    @Bean
    @ConditionalOnMissingBean
    public MyMetaObjectHandler myMetaObjectHandler() {
        return new MyMetaObjectHandler();
    }

    @Bean
    @ConditionalOnMissingBean
    public MySqlInjector mySqlInjector() {
        return new MySqlInjector();
    }
}
